using System;

namespace Camalon.Drawing.Samples.CSharp
{
	/// <summary>
	/// Summary description for TestTextureFill.
	/// </summary>
	public class TextureFillColorMap:Camalon.Drawing.ShapeContainer
    {
		private Camalon.Drawing.Shapes.Ellipse ellipse;
		private Camalon.Drawing.ShapePen elipsePen;
		private Camalon.Drawing.SolidFill solidFill;
        private Shapes.RectangleShape rectangle;
        private Shapes.RectangleShape rectangleShape1;
        private TextureFill textureFill1;
        private TextureFill textureFill;

		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextureFillColorMap));
            this.ellipse = new Camalon.Drawing.Shapes.Ellipse();
            this.solidFill = new Camalon.Drawing.SolidFill();
            this.elipsePen = new Camalon.Drawing.ShapePen();
            this.rectangle = new Camalon.Drawing.Shapes.RectangleShape();
            this.textureFill = new Camalon.Drawing.TextureFill();
            this.rectangleShape1 = new Camalon.Drawing.Shapes.RectangleShape();
            this.textureFill1 = new Camalon.Drawing.TextureFill();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // ellipse
            // 
            this.ellipse.Fill = this.solidFill;
            this.ellipse.Pen = this.elipsePen;
            this.ellipse.Position = new System.Drawing.Point(138, 45);
            this.ellipse.Size = new System.Drawing.Size(171, 470);
            // 
            // solidFill
            // 
            this.solidFill.Color = new Camalon.Drawing.TransparentColor(System.Drawing.SystemColors.InactiveCaption);
            // 
            // elipsePen
            // 
            this.elipsePen.Width = 2F;
            // 
            // rectangle
            // 
            this.rectangle.Fill = this.textureFill;
            this.rectangle.Position = new System.Drawing.Point(43, 127);
            this.rectangle.Size = new System.Drawing.Size(364, 127);
            // 
            // textureFill
            // 
            this.textureFill.ColorScales = new Camalon.Drawing.TransparentColor(System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
            this.textureFill.Image = ((System.Drawing.Image)(resources.GetObject("textureFill.Image")));
            this.textureFill.ImageAlign = Camalon.Drawing.ImageAlign.BottomRight;
            this.textureFill.ImageWrap = System.Drawing.Drawing2D.WrapMode.TileFlipXY;
            // 
            // rectangleShape1
            // 
            this.rectangleShape1.Fill = this.textureFill1;
            this.rectangleShape1.Position = new System.Drawing.Point(44, 280);
            this.rectangleShape1.Size = new System.Drawing.Size(364, 127);
            // 
            // textureFill1
            // 
            this.textureFill1.ColorMap = new Camalon.Drawing.TransparentColor[] {
        new Camalon.Drawing.TransparentColor(System.Drawing.Color.Red)};
            this.textureFill1.Image = ((System.Drawing.Image)(resources.GetObject("textureFill1.Image")));
            this.textureFill1.ImageAlign = Camalon.Drawing.ImageAlign.BottomRight;
            this.textureFill1.ImageWrap = System.Drawing.Drawing2D.WrapMode.TileFlipXY;
            // 
            // TestTextureFillColorMap
            // 
            this.Position = new System.Drawing.Point(10, 10);
            this.Shapes.AddRange(new Camalon.Drawing.Shape[] {
            this.ellipse,
            this.rectangleShape1,
            this.rectangle});
            this.Size = new System.Drawing.Size(469, 543);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

		}
	
		public TextureFillColorMap()
		{
			//
			// TODO: Add constructor logic here
			//
		}
	}
}
